/*
 * 	Flan.Zeng 2011-2016	http://git.oschina.net/signup?inviter=flan
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.flan.stock.utils;

/**
 * 常量定义
 * @author flan
 * @date   2015年12月30日
 */
public class Constant {
	
	/**请求获取行情数据*/
	public static final int SERVICE_QUOTATION_RANK_REQUEST = 0x000011;
	public static final int SERVICE_QUOTATION_RANK_RESPONSE = 0x000012;
	
	/**股票名称*/
	public static final int STOCK_COLUMN_NAME = 0x000021;
	/**股票代码*/
	public static final int STOCK_COLUMN_CODE = 0x000022;
	/**股票现价*/
	public static final int STOCK_COLUMN_NOWPRICE = 0x000023;
	/**股票最低价*/
	public static final int STOCK_COLUMN_LPRICE = 0x000024;
	/**股票最高价*/
	public static final int STOCK_COLUMN_HPRICE = 0x000025;
	/**股票开盘价*/
	public static final int STOCK_COLUMN_OPENPRICE = 0x000026;
	/**股票收盘价*/
	public static final int STOCK_COLUMN_CLOSEPRICE = 0x000027;
	/**股票成交额*/
	public static final int STOCK_COLUMN_VOLUME = 0x000028;
	/**股票成交量*/
	public static final int STOCK_COLUMN_AMOUNT = 0x000029;
	
	/**降序排列*/
	public static final int ORDER_BY_DESC = 0x000001;
	/**升序排列*/
	public static final int ORDER_BY_ASC = 0x000000;
}
